package frame;

import tree.TEMP;
import temp.Label;
import temp.Temp;
import util.BoolList;

public class ExFrame extends Frame {
	public Label name;
	public BoolList formals;

	public Frame newFrame(Label iname, BoolList iformals){
		this.name = iname;
		this.formals = iformals;
		return this;
	}

	public tree.Exp externalCall(String func, tree.ExpList args){
		return null;
	}

	public tree.TEMP allocLocal(boolean escape){
		temp.Temp gen = new temp.Temp();
		return new tree.TEMP(gen);

	}

	public Temp RV(){
		return new temp.Temp();		
	}

	public Temp FP(){
		return new temp.Temp();		
	}

	public String tempMap(Temp temp){
		return temp.toString();
	}

	public tree.Stm procEntryExit1(tree.Stm body){
		return body;		
	}

	public assem.InstrList procEntryExit2(assem.InstrList body){
		return body;		
	}

}
